473,467 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CSS Floating image

Hey if anyone could help me this would be great, been staring at the
screen for over 2 hours and cant figure out why the image wont, align
to the top left and wrap the text around.
Any help would be great. Thanks.
The URL is
http://www.gadago.net/summersnow/scr...Submit=Proceed.

My CSS is below, and the img.camp is the one that I cant get to work.

..bodytext {
margin: 0px;
background: #FEEF39;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#000000;
font-size:12px;
}

..header {
margin: 0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
font-size:12px;
}

p {
margin-top: 4px;
margin-bottom: 4px;
}

/* below is the drop down styles */

option {
font-family:"Courier New", Courier, mono;
font-size:12px;
color:#996600;
background:#FFFF66;
}

option.one {
background: #FEEF39;
}

option.two {
background: #FFFF88;
}

/* below is the button styles */

button.btn{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#696;
border-left-color:#696;
border-right-color:#363;
border-bottom-color:#363;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}

button.btnhov{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#c63;
border-left-color:#c63;
border-right-color:#930;
border-bottom-color:#930;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}
..footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #CCCCCC;
}

..anchor {
background:#FEEF39;
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
}

/* navigation links on anchor */

ul {
list-style-type: none;
overflow: auto;
padding: 0;
margin: 0;
}

ul li {
float: left;
border: 1px solid #333;
border-bottom: none;
margin: 0 5px;
background:FFFF56;
}

ul li a {
display: block;
padding: 10px 20px;
text-decoration: none;
}

ul li a:hover {
text-decoration: underline;
background:#996600;
}
/* --------------*/

/* to make the above work on IE browsers is below */

* html ul li a {
width: 1%;
}
/* below to align and float images */

img.camp {
position: absolute;
top:50px;
left:50px;
float:right;
clear:right;
margin-right:5px;
margin-bottom:5px;
}

Sep 15 '05 #1
10 2065
Once upon a time *Summersnow* wrote:
Hey if anyone could help me this would be great, been staring at the
screen for over 2 hours and cant figure out why the image wont, align
to the top left and wrap the text around.
Any help would be great. Thanks.
The URL is
http://www.gadago.net/summersnow/scr...Submit=Proceed.

My CSS is below, and the img.camp is the one that I cant get to work.

.bodytext {
margin: 0px;
background: #FEEF39;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#000000;
font-size:12px;
}

.header {
margin: 0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
font-size:12px;
}

p {
margin-top: 4px;
margin-bottom: 4px;
}

/* below is the drop down styles */

option {
font-family:"Courier New", Courier, mono;
font-size:12px;
color:#996600;
background:#FFFF66;
}

option.one {
background: #FEEF39;
}

option.two {
background: #FFFF88;
}

/* below is the button styles */

button.btn{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#696;
border-left-color:#696;
border-right-color:#363;
border-bottom-color:#363;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}

button.btnhov{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#c63;
border-left-color:#c63;
border-right-color:#930;
border-bottom-color:#930;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}
.footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #CCCCCC;
}

.anchor {
background:#FEEF39;
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
}

/* navigation links on anchor */

ul {
list-style-type: none;
overflow: auto;
padding: 0;
margin: 0;
}

ul li {
float: left;
border: 1px solid #333;
border-bottom: none;
margin: 0 5px;
background:FFFF56;
}

ul li a {
display: block;
padding: 10px 20px;
text-decoration: none;
}

ul li a:hover {
text-decoration: underline;
background:#996600;
}
/* --------------*/

/* to make the above work on IE browsers is below */

* html ul li a {
width: 1%;
}
/* below to align and float images */

img.camp {
position: absolute;
top:50px;
left:50px;
float:right;
clear:right;
margin-right:5px;
margin-bottom:5px;
}


Start with clearing up the mess you have in the code, with the help of
http://validator.w3.org/

For example, you have duplicated the top most part of the code
(including the counter script), so the same that is coming up again
further down should be removed.

--
/Arne
Now killing posts originating at GoogleGroups
Sep 15 '05 #2
Yeah ive been trying to sort that out, its due to the fact there are
alot of php includes and when I first started the site I didnt really
plan it very well.

Sep 15 '05 #3
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Sep 15 '05 #4
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane
Sep 15 '05 #5
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.
Sep 16 '05 #6
On 15 Sep 2005 07:07:17 -0700, Summersnow wrote:
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.


You blame PHP ! yet in your earlier post you admit that you didn't plan it
very well, a bad workman blames his tools.
Sep 16 '05 #7
In article <2r****************************@40tude.net>,
Ob*****@godhelpme.com says...
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.

Argument by ad hominem attack and unsupported assertion. Impressive.
Sep 16 '05 #8
On Fri, 16 Sep 2005 19:36:22 GMT, Diane Wilson wrote:
In article <2r****************************@40tude.net>,
Ob*****@godhelpme.com says...
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.

Argument by ad hominem attack and unsupported assertion. Impressive.


Yes if what you purported where facts, backed up by relevant data, rather
than a fallacy.

And maybe you should look up what ad hominem means <quote>Asserting that
someone's argument is wrong and/or they are wrong to argue at all purely
because of something discreditable/not-authoritative about the person or
those persons cited by them rather than addressing the soundness of the
argument itself</quote>

Your assertion that <quote>PHP is for small stuff where quick-and-dirty is
ok</quote> is unfounded and unsupported by any evidence so can only be
conjecture on your part.
Sep 17 '05 #9

brilliant a slagging match on a forum!
Your mistaken Im afraid to take that away from you, I was saying that
my bad organising was the problem!And php wasnt the language I was
reffering to really as the weakly typed language as it will not
function with errors I was reffering to the HTML that will work
regardless of errors. I think PHP is brilliant, does loads of stuff and
is the most used SAPI Ive been told. Sorry to disapoint you but yeah I
was saying it was my fault.
--
SummerSnow
------------------------------------------------------------------------
SummerSnow's Profile: http://www.highdots.com/forums/m925
View this thread: http://www.highdots.com/forums/t2925601

Oct 4 '05 #10
Diane Wilson wrote:
Argument by ad hominem attack and unsupported assertion. Impressive.


Well it was neither an ad hominem nor unsupported. You claimed that ASP
was better because it had strong typing, which shows you're clearly
unfamiliar with both ASP _and_ strong typing.

No doubt mauve has the most RAM as well.

Oct 4 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris Gurk | last post by:
Hi Newsgroup, I am working on a website http://www.charter-yachtcharter.com/testsite/ (still in progress). There are two lists. The first is a simple paragraph (<p>-Tag), the second an...
3
by: SuzyQ | last post by:
Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources but can't write 'em. I need to float a balloon image across my classroom website. I've seen this done with other images but can't...
5
by: sp_mclaugh | last post by:
Hi. I've just recently switched to using CSS (rather than tables) to display collections of thumbnails. That way, depending on the user's screen resolution and browser window size, the number of...
31
by: Martin Clark | last post by:
Hello, I am daring to stick my head above the parapet and ask as question. I am working on redesigning a website to use CSS rather than tables for layout. I have come across a problem when trying...
0
by: Paul Sudbrock | last post by:
http://www.bbfi-europe.org/Sudbrock/blog/blog.html I want to float this image right aligned http://bbfi-europe.org/Sudbrock/blog/logo1.jpg over this background ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.